Symmetries in reversible programming: from symmetric rig groupoids to reversible programming languages
نویسندگان
چکیده
The Pi family of reversible programming languages for boolean circuits is presented as a syntax combinators witnessing type isomorphisms algebraic data types. In this paper, we give denotational semantics language, using weak groupoids à la Homotopy Type Theory, and show how to derive an equational theory it, by 2-combinators equivalences isomorphisms. We establish correspondence between the syntactic groupoid language formally univalent subuniverse finite relates 1-combinators 1-paths, 2-paths in universe, which shown be sound complete both levels, forming equivalence groupoids. use Curry-Howard-Lambek Reversible Logic, Programming Languages, Symmetric Rig Groupoids, showing that free symmetric rig groupoid, given sets bijections. Using formalisation our results, perform normalisation-by-evaluation, verification synthesis logic gates, motivated examples from quantum computing. also reason about transfer theorems different representations circuits.
منابع مشابه
Dynamic Programming Algorithms as Reversible Circuits: Symmetric Function Realization
The work starts with a general idea of how to realize a dynamic programming algorithm as a reversible circuit. This realization is not tied to a specific reversible design model and technology or a class of dynamic algorithms, it shows an approach for such synthesis. As an illustration of this approach, a class of all symmetric functions is realized in a dynamic programming algorithm manner as ...
متن کاملProgramming of Reversible Systems in Computational Linguistics
Dr. Alfred Hoppe of Forschuugsgruppe LIMAS has developed a pro / cedure for a reversible data flow (Figure I). 'In the matrix/%hree ~ different quantities are connected together. For analysis~he grammatical description of an inflected form is determined by combining the inflection class with the ending. For example the German verb ~ehen is composed of the stem ~eh and the ending e_~u. The lexic...
متن کاملInherently Reversible Grammars, Logic Programming And Computability
This paper a t tempts to clarify two distinct notions of "reversibility": (i) Uniformity of implementation of parsing and generation, and (it) reversibility as an inherent (or intrinsic) property of grammars. On the one hand, we explain why grammars specified as definite programs (or the various related "unification grammars") lead to uniformity of implementation. On the other hand, we define d...
متن کاملOn locally reversible languages
There exist several works that study the class of reversible languages defined as the union closure of 0-reversible languages, their properties and suitable representations. In this work we define and study the class of locally reversible languages, defined as the union closure of k-reversible languages. We characterize the class and prove that it is a local (positive) variety of formal languag...
متن کاملSessions, from Types to Programming Languages
We discuss session types independently of any programming language. We then embody the notion in languages from three different paradigms: the pi calculus, a functional language, and an object-oriented language.
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
ژورنال
عنوان ژورنال: Proceedings of the ACM on programming languages
سال: 2022
ISSN: ['2475-1421']
DOI: https://doi.org/10.1145/3498667